package com.littcore.saap.assistant.vo;

import java.io.Serializable;
import java.util.Map;


/**
 * .
 * 
 * <pre><b>描述：</b>
 *    
 * </pre>
 * 
 * <pre><b>修改记录：</b>
 *    
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">蔡源</a>
 * @since 2015年10月22日
 * @version 1.0
 */
public class UserPortletVo implements Serializable {

  /** The Constant serialVersionUID. */
  private static final long serialVersionUID = 1L;
  
  private int id;
  
  private String portletUid;
  
  private String name;
  
  private String descr;
  
  private String type;
  
  private Map<String, Object> params;
  
  private boolean configurable;
  
  private String theme;
  
  private int refreshInterval;
  
  private int positionX;
  
  private int positionY;
  
  public String getUid()
  {
    return portletUid+"-"+id;
  }

  
  /**
   * @return the id
   */
  public int getId()
  {
    return id;
  }

  
  /**
   * @param id the id to set
   */
  public void setId(int id)
  {
    this.id = id;
  }

  
  /**
   * @return the portletUid
   */
  public String getPortletUid()
  {
    return portletUid;
  }

  
  /**
   * @param portletUid the portletUid to set
   */
  public void setPortletUid(String portletUid)
  {
    this.portletUid = portletUid;
  }

  
  /**
   * @return the name
   */
  public String getName()
  {
    return name;
  }

  
  /**
   * @param name the name to set
   */
  public void setName(String name)
  {
    this.name = name;
  }

  
  /**
   * @return the descr
   */
  public String getDescr()
  {
    return descr;
  }

  
  /**
   * @param descr the descr to set
   */
  public void setDescr(String descr)
  {
    this.descr = descr;
  }

  
  /**
   * @return the type
   */
  public String getType()
  {
    return type;
  }

  
  /**
   * @param type the type to set
   */
  public void setType(String type)
  {
    this.type = type;
  }

  
  /**
   * @return the params
   */
  public Map<String, Object> getParams()
  {
    return params;
  }

  
  /**
   * @param params the params to set
   */
  public void setParams(Map<String, Object> params)
  {
    this.params = params;
  }

  
  /**
   * @return the configurable
   */
  public boolean isConfigurable()
  {
    return configurable;
  }

  
  /**
   * @param configurable the configurable to set
   */
  public void setConfigurable(boolean configurable)
  {
    this.configurable = configurable;
  }

  
  /**
   * @return the theme
   */
  public String getTheme()
  {
    return theme;
  }

  
  /**
   * @param theme the theme to set
   */
  public void setTheme(String theme)
  {
    this.theme = theme;
  }

  
  /**
   * @return the refreshInterval
   */
  public int getRefreshInterval()
  {
    return refreshInterval;
  }

  
  /**
   * @param refreshInterval the refreshInterval to set
   */
  public void setRefreshInterval(int refreshInterval)
  {
    this.refreshInterval = refreshInterval;
  }


  
  /**
   * @return the positionX
   */
  public int getPositionX()
  {
    return positionX;
  }


  
  /**
   * @param positionX the positionX to set
   */
  public void setPositionX(int positionX)
  {
    this.positionX = positionX;
  }


  
  /**
   * @return the positionY
   */
  public int getPositionY()
  {
    return positionY;
  }


  
  /**
   * @param positionY the positionY to set
   */
  public void setPositionY(int positionY)
  {
    this.positionY = positionY;
  }

}
